package cn.com.fattiger.framework.mec.model;

import java.util.List;

/**
 * 
 * SpyZooResponse
 * @author fattiger.xiaoyang
 * @date 2016/09/21
 * @qqGroup 454655009
 */
public class ZooResponse {
    
    private List<ZooNode> nodeList;
    
    private State state = State.SUCCESS;

    public List<ZooNode> getNodeList() {
        return nodeList;
    }

    public void setNodeList(List<ZooNode> nodeList) {
        this.nodeList = nodeList;
    }

    public State getState() {
        return state;
    }

    public void setState(State state) {
        this.state = state;
    }

    public static enum State{
        SUCCESS,FAILED,REMOTE_ERROR
    }
}
